package com.yoki.cloud.common.utils.aop.security.annotation;



import com.yoki.cloud.common.utils.aop.security.enums.PrivacyDisplayType;

import java.lang.annotation.*;

@Documented
@Inherited
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PrivacyDisplay {

    PrivacyDisplayType type() default PrivacyDisplayType.DEFAULT;

//    String regular() default "([\\d\\D]{1})(.*)";
    String regular() default "";

//    String replacement() default  "$1**" ;
    String replacement() default  "" ;

}
